package com.platform.web;

import com.platform.client.ControlServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by wyt on 2018/6/29.
 */
@RestController
public class TestFeignController {
    @Autowired
    ControlServiceClient client;
    @RequestMapping("/testcontrol")
    public Object testcontrol(){
        return client.test();
    }
}
